#ifndef WELL_H_
#define WELL_H_

#include "GraphicalComposite.h"

class Well : public GraphicalComposite
{
public:
    Well(unsigned int widthOfWell);
    virtual ~Well();
    virtual void handleEvent(const Event& event);

    void handleAddPieceEvent(long pieceId, const Position& position, const Color& color);
    void handleAddRowEvent(long rowId, int rowNo);
    void handleRemovePieceEvent(long pieceId);
    void handleRemoveRowEvent(long rowId);
    void handleAnimationDoneEvent(long rowId);
};

#endif
